package com.leyou.upload.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: wangzibeng
 * Date: 2019/4/29 0029
 * Time: 10:58
 */

public interface UploadService {
    /**
     * 上传图片
     *
     * @param file
     * @return
     */
    String upLoadImg(MultipartFile file);

    /**
     * 阿里云文件上传获取签名
     *
     * @return
     */
    Map<String, Object> getAliSignature();
}
